<style rel="styleesheet" lang="less">
@media screen and (min-width: 829px) {
  #userCenter {
    background-color: #F6F7FB;
    padding: 5rem 0 1rem;
    /*min-height: 36rem;*/
    * {
      box-sizing: border-box;
    }
    .content {
      background-color: #fff;
      width: 78%;
      margin: 0 auto;
    }
    .u-title-box {
      height: 5.71rem;
      line-height: 5.71rem;
      border-bottom: dashed 1px #E9E9E9;
      padding: 0 2rem
    }
    .u-title {
      font-size: 1.57rem;
      font-weight:bold;
      color:rgba(41,41,41,1);
      /*font-weight: bold;*/
    }
    .u-info {
      font-size: 1.14rem;
      color: #666;
      float: right;
      position: relative;
      cursor: pointer;
      vertical-align: middle;
    }
    .u-info:hover {
      color: #FD9D40
    }
    .edit{
      color: #FD9D40;
      font-size: 1.21rem;
      padding-right: 0.7rem;
      padding-top: .1rem;
    }
    .u-a-box {
      text-align: center;
      padding: 6.86rem 0;
    }
    .u-action {
      width:32.86rem;
      height:17.21rem;
      background:rgba(255,255,255,1);
      border-radius: 0.21rem ;
      /*width: 30%;*/
      cursor: pointer;
      padding-top: 3.93rem;
      padding-bottom: 4rem;
      margin-right: 5.5%;
      display: inline-block;
      font-size: 1.71rem;
      color: #333;
      box-shadow: 0 0 50px 1px rgba(34, 17, 0, 0.08);
      .icon {
        width: 5.5rem;
        font-size: 5.5rem;
        display: block;
        margin: 0 auto;
        margin-bottom: 2rem;
        color: #F37F0E;
      }
    }
    .u-action:hover {
      color: #FD9D40
    }
    .u-action:last-child {
      margin-right: 0;
    }
  }
}

@media screen and (min-width: 829px) and (max-width: 1092px) {
  #userCenter .u-action {
    width: 32.86rem;
    height: 17.21rem;
    background: #ffffff;
    border-radius: 0.21rem;
    /* width: 30%; */
    cursor: pointer;
    padding-top: 3.93rem;
    padding-bottom: 4rem;
    /*margin-right: 3.5%;*/margin-left: 25%;
    display: block;
    font-size: 1.71rem;
    color: #333;
    -webkit-box-shadow: 0 0 50px 1px rgba(34, 17, 0, 0.08);
    box-shadow: 0 0 50px 1px rgba(34, 17, 0, 0.08);
  }
  #userCenter .u-action:nth-child(2){
    margin-top: 3rem  ;
  }
}
@media screen and (max-width: 829px) {
  #userCenter {
    /*height: 100%;*/
    background-color: #F6F7FB;
    * {
      box-sizing: border-box;
    }
    .content {
      padding: 0 0.3rem;
    }
    .u-title-box {
      height: 1.3rem;
      line-height: 1.3rem;
    }
    .u-title {
      font-size: 0.36rem;
      color: #1a1a1a
    }
    .u-info {
      font-size: 0.28rem;
      color: #666;
      float: right;
      position: relative;
      cursor: pointer;
    }
    .u-info:hover {
      color: #FD9D40
    }

    .edit{
      color: #FD9D40;
      font-size: 0.25rem;
      padding-right: 0.1rem;
    }
    .u-action {
      background-color: #fff;
      margin-bottom: 0.16rem;
      text-align: center;
      font-size: 0.32rem;
      color: #1a1a1a;
      padding: 0.75rem 0;
      margin-top: 0.5rem;
      .icon {
        width: 0.77rem;
        font-size: 0.77rem;
        display: block;
        margin: 0 auto;
        margin-bottom: 0.3rem;
        color: #F37F0E;
      }
    }
  }
}

</style>
<template>
  <div id="userCenter">
    <div class="content">
      <div class="u-title-box">
        <span class="u-title">个人中心&nbsp;>&nbsp;我的报名</span>
        <span class="u-info" @click="routerGo('/userCenterInfo')"><span class="icon-edit icon edit"></span>个人资料</span>
      </div>
      <div class="u-a-box">
        <div class="u-action" @click="routerGo('/personalColloge')">
          <span class="icon-active icon active"></span>
          <span>浣花活动</span>
        </div>
        <div class="u-action" @click="routerGo('/personalTraining')">
          <span class="icon-plane icon plane"></span>
          <span>培训报名</span>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {

    }
  },
  components: {

  },
  methods: {
    routerGo(url) {
      this.$router.push(url)
    }
  },
  mounted() {

  },
}

</script>
